
extern "C" __declspec(dllexport) bool Material_GetFlag(SMaterial *material, E_MATERIAL_FLAG flag)
{
	return material->getFlag(flag);
}

extern "C" __declspec(dllexport) void Material_SetFlag(SMaterial *material, E_MATERIAL_FLAG flag, bool value)
{
	material->setFlag(flag, value);
}

extern "C" __declspec(dllexport) ITexture* Material_GetTexture(SMaterial *material, u32 i)
{
	return material->getTexture(i);
}

extern "C" __declspec(dllexport) bool Material_IsTransparent(SMaterial *material)
{
	return material->isTransparent();
}

extern "C" __declspec(dllexport) void Material_SetTexture(SMaterial *material, u32 i, ITexture *tex)
{
	material->setTexture(i, tex);
}
